package Clases;

public class Aldea {

    public static final String BRESOL = "Bresol";
    public static final String ARAGAEY = "Aragaey";
    public static final String CABE = "Cabe";
    public static final String MIXOCU = "Mixocu";
    public static final String ASE = "Ase";
    public static final String BULOVOE = "Bulovoe";
    public static final String CENEDE = "Cenede";
    public static final String ERGINTONE = "Ergintone";
    public static final String ICAEDUR = "Icaedur";
    public static final String PEREGAEY = "Peregaey";
    public static final String VINIZAILE = "Vinizaile";

    private String nombre;
    private Cofre cofre;
    private int percepcion;

    public Aldea() {
        super();
        this.nombre = new String();
        this.cofre = null;
    }

    @Override
    public Object clone() {
        Aldea al = new Aldea();
        al.setNombre(nombre);
        al.setPercepcion(percepcion);
        al.setCofre(cofre);
        return al;
    }

    public String getNombre() {
        return nombre;
    }

    public void setNombre(String nombre) {
        this.nombre = nombre;
    }

    public Cofre getCofre() {
        return cofre;
    }

    public void setCofre(Cofre cofre) {
        this.cofre = cofre;
    }

    public void vaciar() {
        this.setNombre(null);
        this.setCofre(null);
    }

    public void llevarCofre() {
        this.cofre = null;
    }

    public void setPercepcion(int co) {
        this.percepcion = co;
    }

    public int getPercepcion() {
        return percepcion;
    }
}
